package com.ysd.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ysd.entity.RoleModules;
import com.ysd.service.RoleModulesService;

@RestController
public class RoleModulesController {
	
	@Autowired
	RoleModulesService rs;
	
	@RequestMapping("getAll")
	public Object getAll(RoleModules r) {
		return rs.findRoleModules(r);
	}
}
